import request from '@/utils/request.js'

//查询充值套餐列表
export const getpackageListApi = () => {
	return request.get('/api/xlx-sso/account/getpackage');
}
//微信小程序支付
export const wxJsApiPayApi = (data) => {
	return request.get('/api/xlx-sso/wxpay/v3/jsApiPay', data);
}
//H5微信支付
export const wxpayH5Api = (data) => {
	return request.get('/api/xlx-sso/wxpay/v3/wapPay', data);
}
//H5支付宝支付
export const alipayH5Api = (data) => {
	return request.get('/api/xlx-sso/alipay/wapPay', data);
}
//app微信支付
export const wxpayAppApi = (data) => {
	return request.get('/api/xlx-sso/wxpay/v3/appPay', data);
}
//app支付宝支付
export const alipayAppApi = (data) => {
	return request.get('/api/xlx-sso/alipay/appPay', data);
}
//苹果应用内支付
export const setIapCertificateApi = (data) => {
	return request.post('/api/xlx-sso/applePay/setIapCertificate', data);
}